package dbobjects;

import dbreflection.tablemanagement.DOTable;
import dbreflection.tablemanagement.DOField;
import dbreflection.tablemanagement.DatabaseObject;

/**
 * User: [J0k3r]
 * Date: 15.01.2009
 * Time: 20:18:24
 */
@DOTable(table = "db_object_history_type", pk = "id")
public class DBObjectHistoryType extends DatabaseObject
{
    @DOField(column = "id")
    private Integer id;
    @DOField(column = "type_name")
    private String typeName;

    public DBObjectHistoryType() {
        this.id = UNASSIGNEDINT;
        this.typeName = UNASSIGNEDSTRING;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
